import { defHttp } from "@/utils/http";

// ERP 批量出库
export const drugBatchApi = {
	// 根据处方id批量出库
	drugBatchDispensing: async (data: any) => {
		return await defHttp.put({ url: `/whs/drug-batch/dispensing`, data });
	},
	//退药申请
	drugRequestsApply: async (data: any) => {
		return await defHttp.post({ url: `/his/drug-requests-apply/create`, data });
	}
};
